import py2neo
import os
curpath = os.path.dirname(os.path.abspath(__file__))
from tqdm import tqdm

g = py2neo.Graph("http://127.0.0.1:7474", user="neo4j", password="neo4j123")

with open(curpath + '/graph_songs_cypher.cypher', 'r', encoding='utf-8') as f:
    lines = f.readlines()
    for line in tqdm(lines):
        g.run(line)
    